/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ChatSoft.model.buz;

import java.io.IOException;
import java.io.ObjectOutputStream;

/**
 *
 * @author KID
 */
public class SendObject {
    public static void sendObject(Object object, ObjectOutputStream oos) {
        try {
            oos.writeObject(object);
            oos.flush();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}